/* 
 * File:   api_clk.h
 * Author: Ich
 *
 * Created on 12. Januar 2014, 16:53
 *
 * Description:
 * API for the clock system
 * 
 */

#ifndef API_CLK_H
#define	API_CLK_H

#ifdef	__cplusplus
extern "C" {
#endif

#include <GenericTypeDefs.h>
/*******************************************************************************
 *  public preprocessing definitions
 */
#define SYS_FREQ                                (76800000)
#define apiClk_getSystemClock()                 (SYS_FREQ)
#define apiClk_getPeripheralClock()             (SYS_FREQ/2)
    
 /*******************************************************************************
 *  public variables
 */

/*******************************************************************************
 *  public functions
 */

#ifdef	__cplusplus
}
#endif

#endif	/* API_CLK_H */

